WP_Defender\Component\Http\Remote_Address\Remote_Address S

Total Complexity 28
Dependencies 1
Dependents 1
Total lines 237
Lines of code 87
Logical lines of code 48
Comment lines 108
Methods 10
Properties 4

Methods 10

Method Rating Maintainability Complexity Lines of code
get_ip_address_from_proxy()
A
51 10 27
is_ip_in_trusted_proxy_preset()
S
55 7 20
get_ip_address()
S
65 3 10
normalize_proxy_header()
S
66 2 8
set_use_proxy()
S
77 1 4
get_use_proxy()
S
82 1 3
get_trusted_proxies()
S
79 1 3
set_trusted_proxies()
S
77 1 4
set_proxy_header()
S
76 1 4
set_trusted_proxy_preset()
S
77 1 4